import request from '@/utils/request';
import type { UnitParams } from './data';

export async function getTable(params?: UnitParams) {
  // getUnitList: '/consult/api/ad/adUnit/getAdUnitList', // 获取单元表格数据
  return request('/api/ad/adUnit/getAdUnitList', {
    method: 'POST',
    data: params,
  });
}
